import 'package:flutter/material.dart';

class FormPage extends StatefulWidget {

  Map arguments ;
  FormPage({super.key,required this.arguments});

  @override
  State<FormPage> createState() => _FormPageState();
}
class _FormPageState extends State<FormPage> {

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    print(widget.arguments);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Form'),
      ),
      body: Center(
        child: Scaffold(
          appBar: AppBar(
            title: const Text('Form'),
          ),
          body: Column(
            //跳转到dialog
            children: [
              Text(widget.arguments.values.toString()),
            ]
          ),
        )
      ),
    );
  }
}
